package com.charge.dao;

import com.charge.domain.UserIncomeType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Description :
 * Author : 91658
 * Date : 2018/6/7 17:38
 **/
@Component
public interface UserIncomeTypeMapping {

    int insertSelective(UserIncomeType record);

    UserIncomeType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserIncomeType record);

    List<UserIncomeType> selectAllIncome(UserIncomeType userIncomeType);

    Integer selectIdByName(@Param("incomeName") String incomeName);

}
